46e6123b4ad61dbe0347a90c38d8e9b6f4740a43,src/main/java/com/continuuity/passport/impl/DataManagementServiceImpl.java,DataManagementServiceImpl,registerAccount,#Account#,46

Before Change


    Preconditions.checkNotNull(nonceDAO,"Nonce data access objects cannot be null");

    try {
      return accountDAO.createAccount(account);
    } catch (ConfigurationException e) {
      throw new RuntimeException(e.getMessage());
    }

After Change


    Preconditions.checkNotNull(nonceDAO, "Nonce data access objects cannot be null");
    Account accountCreated = null;
    try {
      accountCreated = accountDAO.createAccount(account);
    } catch (ConfigurationException e) {
      Throwables.propagate(e);
    }
    return accountCreated;
  }

  @Override